
package com.platform.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品访问记录实体
 *
 * @author 
 * @date 2023-07-18 09:29:28
 */
@Data
@TableName("MALL_ACCESS_RECORDS_GOODS")
public class MallAccessRecordsGoodsEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private String id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * ip地址
     */
    private String ip;
    /**
     * 新增日期
     */
    private Date addTime;
    /**
     * 商品id
     */
    private String goodsId;

    private String goodsName;

    @TableField(exist = false)
    private String userName;


}
